BuffEffect10 = BaseBuffEffect:new();
BuffEffect10.__index = BuffEffect10;

function BuffEffect10:new()
    local object = {};
    setmetatable(object, BuffEffect10);
    return object;
end

function BuffEffect10:action(fight,buff,...)
    --local target = buff.target;
    local values = decodeJsonStrToTabel(buff.buffBean.f_BuffEffectValue);
    -- 计算值
    local value = Mathf.Floor(FighterAttributeManager.getFightAttr(buff.source, values[2]) * values[3]/ EnumConst.TEN_THOUSANDTH + values[1]);
    local result = FightResult.New();
    result.damage = value;
    --FightDamageManager.realDamage(fight, buff.source, target, result, EnumConst.SkillDamageTypeEnum.NORMAL);
    fightLog("[EFFECT]Fighter "..buff.target.fighterId.." Buff"..buff.modelId.." 触发真实伤害，伤害值："..value);
    return BaseBuffEffect:action(fight, buff, ...);
end

